Package io.realm.kotlin.types.annotations

Types

FullText
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class FullText
Annotation marking a property as having a full-text index, which will enable full-text queries on it.
Ignore
Link copied to clipboard
annotation class Ignore
Annotation marking a field as ignored inside Realm, meaning that it will not be part of the models' schema.
Index
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Index
Annotation marking a field as indexed.
PersistedName
Link copied to clipboard
annotation class PersistedName(name: String)
Annotation mapping a Kotlin class or field name to the name persisted in the Realm.
PrimaryKey
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class PrimaryKey
Annotation marking a field as a primary key inside Realm.